[index]

ScrollPosition Property

Syntax

For fields:
set the scrollPosition of <field> to <integer> For dataSheets and pickLists: set the (horizontal | vertical) scrollPosition of <datasheet | pickList> to <integer> Applies to datasheets, fields, picklists

Description

The scrollPosition property determines how much material is hidden above the top border of a field or before the top and left borders of a scrolling object's rectangle. "Material" is measured in pixels. If the first line of the object's contents is fully visible, the value of the scrollPosition property is 1 ; thus, the value returned is always the number of pixel rows hidden plus 1.

Examples

You can visually determine how much material is hidden outside of an object's rectangle by clicking or dragging in the appropriate scroll bar. set the scrollPosition of field "comments" to 0 put the scrollPosition of field "comments" div the
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.